package com.dragon.pear.pages.tabs.main.home;

import com.dragon.pear.R;
import com.dragon.pear.common.utils.InjectUtil;
import com.chris.libs.base.x.mvpp.fragment.BaseMvppFragment;

import javax.inject.Inject;

/**
 * 界面身份
 */
public class HomeFragment extends BaseMvppFragment {
    @Inject
    HomeViewProxy viewProxy;

    @Override
    protected int layoutId() {
        return R.layout.fra_home;
    }

    @Override
    protected void doInject() {
        InjectUtil.create().inject(this);
    }

    @Override
    public void doProxy() {
        this.viewProxy.bind(this);
        this.observer = this.viewProxy;
        addObserver(this.observer);
    }
}
